<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body onload="init();">
 		<input type="hidden" id="path" value="${pageContext.request.contextPath}" />
		<div align="center" style="width: 150px;margin: 0 auto;"><h1>开始考试</h1></div>
		<div align="center" style="width: 100px;margin: 0 auto;"><h3>正在考试<div id="showDiv" style="height: 30px;">2:00:00</div></h3></div>
		<div align="center" style="width: 150px;margin: 0 auto;"><h3>满分：<span>100</span></h3></div>
		<input type="hidden" id="count" value="${count }" >
		<c:forEach items="${list }" var="test" varStatus="index">
			<div align="center" style="background-color: blue; margin: 0 auto;width: 300px" id="test" class="testId">
				<div style="margin:0 auto;width: 300px;text-align: left;background-color: #F0FFF0;">
						<p><span>${test.content }</span><label></label></p>
						<input type="hidden" class="testId${index.index }" value="${test.id }" >
						<p><input type="radio" name="anwer${index.index }" value="A"/><label>${test.chooseA }</label></p>
						<p><input type="radio" name="anwer${index.index }" value="B"/><label>${test.chooseB }</label></p>
						<p><input type="radio" name="anwer${index.index }" value="C"/><label>${test.chooseC }</label></p>
						<p><input type="radio" name="anwer${index.index }" value="D"/><label>${test.chooseD }</label></p>
				</div>
			</div>
			</c:forEach>
		<table height="50" align="center">
		
		</table>
		<div align="center">
			<button class="btn btn-info" >退出</button>
			<a ><button class="btn btn-info submit" >交卷</button></a>
		</div>
</body>
</html>